package zhjb.platform.module.urlcollect.bean;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;
import org.springframework.transaction.annotation.Transactional;

@Entity
@Table(name = "tb_url_collect")
public class UrlCollect {
	private String id;
	private String urltitle;
	private String url;
	private String cachecontent;
	private String remark;
	private Date createtime;
	private String createuser;
	private String urltype;
	private String typeShow;

	@Id
	@Column(length = 32)
	@GeneratedValue(generator = "system-uuid")
	@GenericGenerator(name = "system-uuid", strategy = "uuid")
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUrltitle() {
		return urltitle;
	}

	public void setUrltitle(String urltitle) {
		this.urltitle = urltitle;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getCachecontent() {
		return cachecontent;
	}

	public void setCachecontent(String cachecontent) {
		this.cachecontent = cachecontent;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public String getCreateuser() {
		return createuser;
	}

	public void setCreateuser(String createuser) {
		this.createuser = createuser;
	}

	public String getUrltype() {
		return urltype;
	}

	public void setUrltype(String urltype) {
		this.urltype = urltype;
	}

	@Transient
	public String getTypeShow() {
		return typeShow;
	}

	public void setTypeShow(String typeShow) {
		this.typeShow = typeShow;
	}
}
